package com.whminwei.edu.api.school.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 *
 *
 * @author wangy
 * @since 2024/4/29
 */
@Data
public class SchCompanyFspn {
    @JsonValue
    private List<CompanyBo> companyList;

    public SchCompanyFspn() {
    }

    @JsonCreator
    public SchCompanyFspn(List<CompanyBo> companyList) {
        this.companyList = companyList;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class CompanyBo {
        private String companyId;
        /**
         * 单位编号
         */
        private String companyNo;
        /**
         * 名称
         */
        private String companyName;


        private String industry;

        private String kind;

        private String scale;

        private String adminDiv;
        /**
         * 所属产业
         */
        private String sector;
        /**
         * 单位地址
         */
        private String address;

    }
}
